<?php if($huux_style_one['hso_index_menu']) { 
    //目录超过12个就加滚动条
    $n = db_count('forum');
    $c_class = '';
    $n > 12 && $c_class = 'pre-scrollable scrollbar-small';
    ?>
     <div class="card card-menu reset-list-group">
         <div class="card-header text-bold ">目录</div>
         <div class="card-body <?php echo $c_class;?>">
              <div class="list-group" id="letnav">
              <a class="list-group-item dropdown-item"  fid="0" href="."><?php echo lang('index_page');?></a>
                    <!-- 版块 -->
              <?php foreach($forumlist_show as $_forum) {   
              ?>
              
              <a class="list-group-item dropdown-item" href="<?php echo url("forum-$_forum[fid]");?>" fid="<?php echo $_forum['fid'];?>"><?php echo $_forum['name'];?>
              <?php if($huux_style_one['hso_index_menu']==1){ ?><span class="label label-default label-pill"><?php echo $_forum['threads'];?></span><?php } ?>
              </a>
               
              
              <?php } ?>

   
              </div>
         </div>
      </div>
<?php }?>



